package com.gsbelarus.gedemin.salary.receiver;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.util.Log;

import com.gsbelarus.gedemin.salary.util.GCMHelper;

public class UpdateAndBootReceiver extends BroadcastReceiver {

    @Override
    public void onReceive(Context context, Intent intent) {
        Log.d(UpdateAndBootReceiver.class.getSimpleName(), "onReceive");
        GCMHelper gcmHelper = new GCMHelper(context);
        gcmHelper.updateRegistration();
    }
}
